/*
 * @Description: * 
 * @Date: 2020-08-26 19:56:13
 * @LastEditTime: 2020-08-27 00:52:09
 * @Author: Ji YingHao
 * @FilePath: /cms/src/store/User/index.js
 */
export default{
    state:{
        userName: '李磊'
    },
    mutations:{
        alterUserName(state,userName){
            state.userName = userName;
        }
    },
    getters:{
        getUserName(state){
            return state.userName + "(age:30)"
        }
    },
    namespaced: true,
}